import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
// import { RouterModule } from '@angular/router';
import { AppRoutingModule } from './app.routing';
import { AppComponent } from './app.component';
import { HeadTitleComponent } from './head-title/head-title.component';
import { WorkAddComponent } from './work-add/work-add.component';
import { HomeComponent } from './home/home.component';
import { PersonScreeningComponent } from './person-screening/person-screening.component';
import { WorkModifyComponent } from './work-modify/work-modify.component';
import { ProjectScreeningComponent } from './project-screening/project-screening.component';
import { WorkDeailComponent } from './work-deail/work-deail.component';
import { PersonTatalComponent } from './person-tatal/person-tatal.component';
import { ProjectTotalComponent } from './project-total/project-total.component';
import { WorkAuditComponent } from './work-audit/work-audit.component';
import { MaskReasonComponent } from './work-audit/mask-reason/mask-reason.component';
import { FormsModule} from '@angular/forms';
import { HttpModule }    from '@angular/http';
import {HttpClientModule} from '@angular/common/http';
import { ConmonService } from "../service/common.service";
// import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
// import { InMemoryDataService }  from './in-memory-data.service';

@NgModule({
  declarations: [
    AppComponent,
    HeadTitleComponent,
    WorkAddComponent,
    HomeComponent,
    PersonScreeningComponent,
    WorkModifyComponent,
    ProjectScreeningComponent,
    WorkDeailComponent,
    PersonTatalComponent,
    ProjectTotalComponent,
    WorkAuditComponent,
    MaskReasonComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    FormsModule,
    HttpModule,
    HttpClientModule
    // InMemoryWebApiModule.forRoot(InMemoryDataService),
  ],
  providers: [ConmonService],
  bootstrap: [AppComponent]
})
export class AppModule { }
